package com.yhsoft.mall.controller.response;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class TopicListOutVo  {

    @ApiModelProperty("主键id")
    private Integer id;

    @ApiModelProperty("专题名称")
    private String name;

    @ApiModelProperty("专题类型(1:通用；2:充值)")
    private Integer type;

    @ApiModelProperty("专题备注")
    private String remark;

    @ApiModelProperty("包含商品数")
    private Integer goodsNum;

    @ApiModelProperty(hidden = true)
    @TableField(fill = FieldFill.INSERT_UPDATE)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private LocalDateTime updatedTime;
}
